package com.gejingyu.aop.example;

public class TestCalProxy {

    public static void main(String[] args) {

        ProxyFactory proxyFactory = new ProxyFactory(new CalculatorImpl());
        Calculator proxy = (Calculator) proxyFactory.getProxy();
        proxy.add(1, 2);
    }

}
